package com.tuxing.draa_data.dao.subject;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tuxing.draa_data.pojo.subject.NewDcJcrSubAttr;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * jcr学科属性表 Mapper 接口
 * </p>
 *
 * @author yuanshihang
 * @since 2022-02-14
 */
@Repository
public interface NewDcJcrSubAttrDao extends BaseMapper<NewDcJcrSubAttr> {

    Integer findCountByRecordIdYearSubIdQ(@Param("recordId") Long recordId,@Param("year") Integer year,
                                          @Param("subId") Long subId,@Param("q") Integer q,@Param("mainSubId") Long mainSubId);

}
